package com.lianwei.service;

import com.lianwei.enums.SendCodeEnum;
import com.lianwei.util.JsonData;

public interface NotifyService {
    //发送验证码
    JsonData sendEmailCode(SendCodeEnum sendCodeEnum, String emailAddress);
    //检查用户提交的验证码
    boolean checkEmailCode(SendCodeEnum sendCodeEnum,String emailAddress,String code);
}
